<?php

declare (strict_types=1);


namespace app\common\tool\auth;

class RealName extends ApiClient
{

    const APP_SECRET = 'SyxyUt8HMXlbunGWV8ceiu63OjwQZhE1';

    const APP_CODE = '0347398348854942b04f7365e5208368';

    public function check($params)
    {
        $options = [
            'headers' => [
                'Authorization' => 'APPCODE ' . self::APP_CODE
            ],
            'post' => $params
        ];

        return $this->post('eid/check', $options);
    }
}